<%@ page contentType="text/html; charset=utf-8" language="java" import="java.util.*" errorPage="/error.jsp" %>
<% 
Cookie[] cookies=request.getCookies();
for(int i=0;i<cookies.length;i++){
if(cookies[i].getName().equals("loginuser@sgblog.com")){
cookies[i].setMaxAge(0);
response.addCookie(cookies[i]);
}
if(cookies[i].getName().equals("loginuserpwd@sgblog.com")){
cookies[i].setMaxAge(0);
response.addCookie(cookies[i]);
}
}

session.removeAttribute("login_user");
session.removeAttribute("password");
session.removeAttribute("logNos");
session.removeAttribute("photoNos");
response.sendRedirect(request.getContextPath());
%>

